x86/vlapic: introduce vlapic_update_timer
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 25 Aug 2017 14:41:07 +0000 (16:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Aug 2017 14:41:07 +0000 (16:41 +0200)
commite4e1896b2c2ae242660d1401fb352f45953fd4c6
tree4b78c35eaddd0b7e99b31b997c980bceafa032f4
parentbcd53c648d8a3dd8125dc451143f95ab19a3b552
x86/vlapic: introduce vlapic_update_timer

There should not be any functionality change with this patch.

This function is used when the APIC_TMICT register is updated.

vlapic_update_timer is introduce as it will be use also when the
registers APIC_LVTT and APIC_TDCR are updated.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vlapic.c